package cn.zzp.system.service.impl;

import cn.zzp.basic.service.impl.BaseServiceImpl;
import cn.zzp.system.domain.DictionaryDetail;
import cn.zzp.system.mapper.DictionaryDetailMapper;
import cn.zzp.system.service.DictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName EmployeeServiceImpl
 * @Description
 * @Author 祝志鹏
 * @Date 2022/7/14 14:16
 */
@Service
//@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements DictionaryDetailService {

    @Autowired
    private DictionaryDetailMapper dictionaryDetailMapper;
    @Override
    public List<DictionaryDetail> queryByTypeId(Long typeId) {
        return dictionaryDetailMapper.queryByTypeId(typeId);
    }
}
